import {Routes, RouterModule} from '@angular/router';
import {ModuleWithProviders} from '@angular/core';
import {CustomerComponent} from "./customer.component";

export const routes: Routes = [
  {
    path:'save',
    component: CustomerComponent,
    children: []
  },

// export const routes: Routes = [
//   {
//     path:'withdraw',
//     component: WithdrawComponent,
//   },
//   {
//     path: 'add',
//     component: AddComponent,
//     children: []
//   },
//   {
//     path: 'list',
//     component: ListComponent,
//     children: []
//   }
];

export const routing: ModuleWithProviders = RouterModule.forChild(routes);
